#ifndef PLATFORM_CPP_FILE_MAP_SERVER_H
#define PLATFORM_CPP_FILE_MAP_SERVER_H

#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include "proto/data_proto/unit.pb.h"
#include <google/protobuf/text_format.h>
using namespace std;
namespace game {
class MapServer;
class UnitProto;
typedef void (MapServer::*fp)(int);

class MapServer {
  public:
    static MapServer *MapServerInstance();
    MapServer();
    ~MapServer();
    void Update();
    void TestFuncPointer();
    void TestFuncPointer(int a);
};
}

#endif // PLATFORM_CPP_FILE_MAP_SERVER_H
